﻿using System;
using System.Collections.Generic;

namespace Database.ERPNext
{
    public partial class tabLeave_Type
    {
        public string name { get; set; } = null!;
        public DateTime? creation { get; set; }
        public DateTime? modified { get; set; }
        public string? modified_by { get; set; }
        public string? owner { get; set; }
        public int docstatus { get; set; }
        public int idx { get; set; }
        public string? leave_type_name { get; set; }
        public decimal max_leaves_allowed { get; set; }
        public int applicable_after { get; set; }
        public int max_continuous_days_allowed { get; set; }
        public int is_carry_forward { get; set; }
        public int is_lwp { get; set; }
        public int is_ppl { get; set; }
        public decimal fraction_of_daily_salary_per_leave { get; set; }
        public int is_optional_leave { get; set; }
        public int allow_negative { get; set; }
        public int allow_over_allocation { get; set; }
        public int include_holiday { get; set; }
        public int is_compensatory { get; set; }
        public decimal maximum_carry_forwarded_leaves { get; set; }
        public int expire_carry_forwarded_leaves_after_days { get; set; }
        public int allow_encashment { get; set; }
        public int max_encashable_leaves { get; set; }
        public int non_encashable_leaves { get; set; }
        public string? earning_component { get; set; }
        public int is_earned_leave { get; set; }
        public string? earned_leave_frequency { get; set; }
        public string? allocate_on_day { get; set; }
        public string? rounding { get; set; }
        public string? _user_tags { get; set; }
        public string? _comments { get; set; }
        public string? _assign { get; set; }
        public string? _liked_by { get; set; }
    }
}
